{template "mheader.html"}


<form class="form-horizontal" role="form" id="myform">
    {dr_form_hidden()}
    <div class="table-scrollable">
        <table class="table table-striped table-bordered  table-checkable dataTable">
            <thead>
            <tr class="heading">

                <th width="180" class="{dr_sorting('name')}" name="name">网站名称</th>
                <th width="250" class="{dr_sorting('domain')}" name="domain">网站域名</th>
                <th width="120"  class="{dr_sorting('money')}" name="money">续费价格</th>
                <th width="90"  class="{dr_sorting('status')}" name="status">状态</th>
                <th width="210" class="{dr_sorting('endtime')}" name="endtime">有效期</th>
                <th>{dr_lang('操作')}</th>
            </tr>
            </thead>
            <tbody>
            {loop $list $t}
            <tr class="odd gradeX" id="dr_row_{$t.id}">

                <td>{Function_list::title($t.name, $param, $t)}</td>
                <td>{dr_cms_domain_name($t['domain'])}</td>
                <td>{$t['money']}</td>
                <td>{dr_fstatus($t['status'])}</td>
                <td>{dr_date($t['inputtime'], 'Y-m-d')} ~ {dr_date($t['endtime'], 'Y-m-d')}</td>

                <td>
                    <label><a href="{dr_member_url($uriprefix.'/edit', ['id'=>$t.id])}" class="btn btn-xs green"> <i class="fa fa-edit"></i> {dr_lang('修改')}</a></label>
                    <label><a href="{dr_member_url($uriprefix.'/pay', ['id'=>$t.id])}" class="btn btn-xs red"> <i class="fa fa-clock-o"></i> {dr_lang('续费')}</a></label>
                    <label><a href="{dr_member_url($uriprefix.'/sync', ['id'=>$t.id])}" class="btn btn-xs blue"> <i class="fa fa-cloud"></i> {dr_lang('通信')}</a></label>
                    <label><a  target="_blank" href="{dr_member_url($uriprefix.'/sync_admin', ['id'=>$t.id])}" class="btn btn-xs red"> <i class="fa fa-user"></i> {dr_lang('登录后台')}</a></label>
                    <label><a target="_blank" href="{$t.domain}" class="btn btn-xs yellow"> <i class="fa fa-search"></i> {dr_lang('访问网站首页')}</a></label>

                </td>
            </tr>
            {/loop}
            </tbody>
        </table>
    </div>

    <div class="row fc-list-footer table-checkable ">

        <div class="col-md-7 fc-list-page">
            {$mypages}
        </div>
    </div>
</form>


{template "mfooter.html"}